<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="Up" href="Castling.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Castling" rel="Chapter" href="Castling.html">
<link title="Generated" rel="Chapter" href="Generated.html"><title>Castling.TokenType</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="Castling.html">Up</a>
&nbsp;</div>
<center><h1>Module type <a href="type_Castling.TokenType.html">Castling.TokenType</a></h1></center>
<br>
<pre><span class="keyword">module type</span> TokenType = <code class="code">sig</code> <a href="Castling.TokenType.html">..</a> <code class="code">end</code></pre>The signature contains token type for ParserGenerator module.<br>
<hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t </pre>
<div class="info">
Token type.<br>
</div>

<pre><span class="keyword">val</span> <a name="VALcompare"></a>compare : <code class="type"><a href="Castling.TokenType.html#TYPEt">t</a> -> <a href="Castling.TokenType.html#TYPEt">t</a> -> int</code></pre><div class="info">
Compare two tokens.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALeof"></a>eof : <code class="type"><a href="Castling.TokenType.html#TYPEt">t</a></code></pre><div class="info">
The token means end of file.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALinvalid"></a>invalid : <code class="type"><a href="Castling.TokenType.html#TYPEt">t</a></code></pre><div class="info">
The token means error.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALpp_pattern"></a>pp_pattern : <code class="type">quali:bool -> paren:bool -> Format.formatter -> <a href="Castling.TokenType.html#TYPEt">t</a> -> unit</code></pre><div class="info">
Print O'Caml source for pattern matching.
	If quali is true and nessesary, print module name and dot to be used in another module.
	If paren is true and nessesary, print parenthesis.<ul>
<li><code class="code">pp_pattern f ~paren:false ~quali:false (M.X 0)</code> prints <code class="code">"X _"</code>.</li>
<li><code class="code">pp_pattern f ~paren:false ~quali:true (M.X 1)</code> prints <code class="code">"M.X _"</code>.</li>
<li><code class="code">pp_pattern f ~paren:true ~quali:false (M.X 2)</code> prints <code class="code">"(X _)"</code>.</li>
<li><code class="code">pp_pattern f ~paren:true ~quali:true (M.X 3)</code> prints <code class="code">"(M.X _)"</code>.</li>
</ul>
<br>
</div>
<pre><span class="keyword">val</span> <a name="VALpp"></a>pp : <code class="type">quali:bool -> paren:bool -> Format.formatter -> <a href="Castling.TokenType.html#TYPEt">t</a> -> unit</code></pre><div class="info">
Print O'Caml source to get same value. 
	If quali is true and nessesary, print module name and dot to be used in another module.
	If paren is true and nessesary, print parenthesis.<ul>
<li><code class="code">pp f ~paren:false ~quali:false (M.X 0)</code> prints <code class="code">"X 0"</code>.</li>
<li><code class="code">pp f ~paren:false ~quali:true (M.X 1)</code> prints <code class="code">"M.X 1"</code>.</li>
<li><code class="code">pp f ~paren:true ~quali:false (M.X 2)</code> prints <code class="code">"(X 2)"</code>.</li>
<li><code class="code">pp f ~paren:true ~quali:true (M.X 3)</code> prints <code class="code">"(M.X 3)"</code>.</li>
</ul>
<br>
</div>
<pre><span class="keyword">val</span> <a name="VALpp_typename"></a>pp_typename : <code class="type">quali:bool -><br>       paren:bool -> Format.formatter -> <a href="Castling.TokenType.html#TYPEt">t</a> list -> unit</code></pre><div class="info">
Print O'Caml source meaning the type containing values.
	If quali is true and nessesary, print module name and dot to be used in another module.
	If paren is true and nessesary, print parenthesis.<br>
</div>
</body></html>